package Cn.Sarkar.IMS.DataBaseDefinations

import Cn.Sarkar.Entities.Common.Table
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.comment
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.floatColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.intColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.reference

abstract class OrderItems(TableName: String) : Table(TableName) {
    val ApplicationDomainID = intColumn("ApplicationDomainID") reference IMSApplicationDomains.ID comment "Application Domain"
    val ProductID = intColumn("ProductID") reference Products.ID comment "مەھسۇلات"
    var Number = floatColumn("Number") comment "سانى"
}